package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.AppointmentEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author WangJiyou
 * @description 针对表【tb_appointment(体检预约表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.AppointmentEntity
 */
public interface AppointmentDao {

    ArrayList<HashMap> searchByOrderId(int orderId);

    int insert(AppointmentEntity entity);

    ArrayList<HashMap> searchFrontAppointmentByPage(Map param);

    long searchFrontAppointmentCount(Map param);

    long searchCount(Map param);

    ArrayList<HashMap> searchByPage(Map param);

    int deleteByIds(Integer[] ids);

    HashMap hasAppointInToday(Map param);

    int checkin(Map param);

    HashMap searchUuidAndSnapshotId(Map param);

    int updateStatusByUuid(Map param);

    HashMap searchByUuid(String uuid);

    HashMap searchDataForReport(int id);

    HashMap searchDataForWaybill(String uuid);

    int updateWayBill(Map map);
}




